From 806c80427128915feec5e0035758c820a9c1c6d1 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 15 May 2011 13:20:51 +0200 Subject: [PATCH] reftests: Add a test that checks that * matches regions --- tests/reftests/Makefile.am | 3 ++ .../css-match-region-matches-star.css | 8 +++++ .../css-match-region-matches-star.ref.ui | 32 +++++++++++++++++++ .../reftests/css-match-region-matches-star.ui | 31 ++++++++++++++++++ 4 files changed, 74 insertions(+) create mode 100644 tests/reftests/css-match-region-matches-star.css create mode 100644 tests/reftests/css-match-region-matches-star.ref.ui create mode 100644 tests/reftests/css-match-region-matches-star.ui diff --git a/tests/reftests/Makefile.am b/tests/reftests/Makefile.am index 6ad435c444..ab86b85097 100644 --- a/tests/reftests/Makefile.am +++ b/tests/reftests/Makefile.am @@ -35,6 +35,9 @@ EXTRA_DIST += \ css-match-name.css \ css-match-name.ref.ui \ css-match-name.ui \ + css-match-region-matches-star.css \ + css-match-region-matches-star.ref.ui \ + css-match-region-matches-star.ui \ css-match-regions.css \ css-match-regions.ref.ui \ css-match-regions.ui \ diff --git a/tests/reftests/css-match-region-matches-star.css b/tests/reftests/css-match-region-matches-star.css new file mode 100644 index 0000000000..ef6c258eab --- /dev/null +++ b/tests/reftests/css-match-region-matches-star.css @@ -0,0 +1,8 @@ +GtkNotebook * GtkLabel { + color: blue +} + +/* for reference */ +#blue { + color: blue +} diff --git a/tests/reftests/css-match-region-matches-star.ref.ui b/tests/reftests/css-match-region-matches-star.ref.ui new file mode 100644 index 0000000000..3ee31fb73c --- /dev/null +++ b/tests/reftests/css-match-region-matches-star.ref.ui @@ -0,0 +1,32 @@ + + + + + False + popup + + + True + True + + + True + False + Page 1 + + + + + True + False + Page 1 + blue + + + False + + + + + + diff --git a/tests/reftests/css-match-region-matches-star.ui b/tests/reftests/css-match-region-matches-star.ui new file mode 100644 index 0000000000..adddba4d40 --- /dev/null +++ b/tests/reftests/css-match-region-matches-star.ui @@ -0,0 +1,31 @@ + + + + + False + popup + + + True + True + + + True + False + Page 1 + + + + + True + False + Page 1 + + + False + + + + + + -- 2.30.2